<?php

namespace app\admin\model\xilujob;

use think\Model;
use think\model\Pivot;

class JobBenefit extends Pivot
{
    protected $name = 'xilujob_job_benefit_relation';

    public function benefit() {
        return $this->belongsTo('Benefit','benefit_id','id',[])->setEagerlyType(0);
    }

}
